/*
 * Copyright 2010. 
 * 
 * This document may not be reproduced, distributed or used 
 * in any manner whatsoever without the expressed written 
 * permission of xrkol Corp. 
 * 
 * $Rev: Rev $
 * $Author: Author $
 * $LastChangedDate: LastChangedDate $
 *
 */

package com.xrkol.sharelib.dao;

import java.util.List;

import com.xrkol.sharelib.entity.Clazz;
import com.xrkol.sharelib.entity.Teacher;

/**
 * @author peng.xia
 * 
 */
public interface ClassDao extends BaseDao<Clazz, String> {

    List<Clazz> getClassesByAdviser(Teacher teacher);

    List<Clazz> getAllClasses(String schoolId);

    List<Clazz> findClassesWithPagination(String schoolId, Integer page);

    Clazz findClassByAdviser(Teacher teacher);

    boolean checkExist(String className, String schoolId);



}
